import { PORT_Dashboard } from "@/api/config/servicePort";
import http from "@/api";
import type { Dashboard } from "@/api/interface";

// 获取公司仪表盘数据
export const getCompanyDashboard = () => {
  return http.get<Dashboard.ResCompanyDashboard>(PORT_Dashboard + `/company-dashboard`);
};
